package yl.hs.bmipfull.pojo.finance;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/*
 * ShipFreightSettleMainEntity 发货运费结算主信息
 * @category 财务管理
 * @author 谢景广
 * @date 2022-08-03
 */
@DBTable(mapCode = "ship_freight_settle_main",disName = "运费结算单信息")
public class ShipFreightSettleMainEntity extends BaseEntity {
    private Long id;
    @DBField(isSerialNumber = true,mapCode = "sn",snPrefix = "FHYF",disName = "结算编号")
    private String sn;
    private String driverSN;
    @DBField(disName = "司机姓名",mapCode = "driverName")
    private String driverName;
    private int year;
    private int month;
    @DBField(disName = "开始时间",mapCode = "startTime")
    private Date startTime;
    @DBField(disName = "结束时间",mapCode = "endTime")
    private Date endTime;
    @DBField(disName = "结算时间",mapCode = "settleTime")
    private Date settleTime;
    private String productCateSN;
    private BigDecimal previousAmount = BigDecimal.ZERO;
    private BigDecimal currentAmount = BigDecimal.ZERO;
    private BigDecimal totalAmount = BigDecimal.ZERO;
    private BigDecimal currentPayedAmount = BigDecimal.ZERO;
    private BigDecimal totalPayedAmount = BigDecimal.ZERO;
    private int currentOrderCount;
    private int totalOrderCount;
    private String remark;
    private short state;
    private String tags;
    private String organizationCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getDriverSN() {
        return driverSN;
    }

    public void setDriverSN(String driverSN) {
        this.driverSN = driverSN;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getSettleTime() {
        return settleTime;
    }

    public void setSettleTime(Date settleTime) {
        this.settleTime = settleTime;
    }

    public String getProductCateSN() {
        return productCateSN;
    }

    public void setProductCateSN(String productCateSN) {
        this.productCateSN = productCateSN;
    }

    public BigDecimal getPreviousAmount() {
        return previousAmount;
    }

    public void setPreviousAmount(BigDecimal previousAmount) {
        this.previousAmount = previousAmount;
    }

    public BigDecimal getCurrentAmount() {
        return currentAmount;
    }

    public void setCurrentAmount(BigDecimal currentAmount) {
        this.currentAmount = currentAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getCurrentPayedAmount() {
        return currentPayedAmount;
    }

    public void setCurrentPayedAmount(BigDecimal currentPayedAmount) {
        this.currentPayedAmount = currentPayedAmount;
    }

    public BigDecimal getTotalPayedAmount() {
        return totalPayedAmount;
    }

    public void setTotalPayedAmount(BigDecimal totalPayedAmount) {
        this.totalPayedAmount = totalPayedAmount;
    }

    public int getCurrentOrderCount() {
        return currentOrderCount;
    }

    public void setCurrentOrderCount(int currentOrderCount) {
        this.currentOrderCount = currentOrderCount;
    }

    public int getTotalOrderCount() {
        return totalOrderCount;
    }

    public void setTotalOrderCount(int totalOrderCount) {
        this.totalOrderCount = totalOrderCount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }
}
